home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970326-19970626
/
000222_news@newsmaster….columbia.edu _Thu May 22 03:04:52 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
5KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA02012
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 22 May 1997 03:04:52 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id DAA16242
for kermit.misc@watsun; Thu, 22 May 1997 03:04:51 -0400 (EDT)
Path: news.columbia.edu!news.cs.columbia.edu!psinntp!howland.erols.net!newsfeed.internetmci.com!news.wwa.com!news.voicenet.com!omni2!cmosley
From: cmosley@voicenet.com (Christopher Mosley)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Autostarting DSZ from MS-DOS Kermit
Date: 19 May 1997 18:23:49 GMT
Organization: Voicenet - Internet Access - (215)674-9290
Lines: 160
Message-ID: <5lq5rl$tp$2@news3.voicenet.com>
References: <slrn5nsr75.s30.nospam@unix1.netaxs.com> <5ln8hf$ltc$1@newsmaster.cc.columbia.edu>
NNTP-Posting-Host: omni2.voicenet.com
X-Newsreader: TIN [version 1.2 PL2]
Xref: news.columbia.edu comp.protocols.kermit.misc:7064
Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote:
: In article <slrn5nsr75.s30.nospam@unix1.netaxs.com>,
: <nospam@bucket.bit> wrote:
: : According to the man page for "sz" (Unix zmodem) on our system, the
: : following option is available:
: :
: : "g Send ESC-[-?-3-4-l to start DSZ from Kermit"
: :
: : I use MS-Kermit 3.14 as a terminal emulator -- does this version of
: : Kermit support autostarting DSZ in this manner? If so, how to enable
: : this feature? (If available, it seems to be turned off by default.)
: :
: : I've looked in Kermit's online help and done a fair amount of searching
: : using Alta Vista and DejaNews but haven't turned anything up yet on this.
: : Thanks in advance for any followups with useful info...
: :
: This information applied to old versions of MS-DOS Kermit, and also required
: that a certain macro be defined on the Kermit end. This feature is no longer
: available in the same form because the escape sequence cited above conflicted
: with a later use by DEC in VT terminals. From the KERMIT.BWR file:
: (2) INCOMPATIBILITIES BETWEEN MS-DOS KERMIT 3.14 AND EARLIER VERSIONS
: 1. In version 3.13, the escape sequence that invoked the TERMINALR/S macros
: was changed to control screen writing direction (details in KERMIT.UPD),
: for compatibility with newer VT terminals. Any host software that sent
: the TERMINALR/S sequences will need to be converted to send APC sequences.
: See KERMIT.UPD and the WordPerfect section of this file.
: A new method that is (a) more flexible, and (b) less likely to conflict with
: anything else is described in Section 10 of the KERMIT.UPD file.
: - Frank
****************************************************************************
------------------------------------------------------------------------------
defined in mscustom.ini file.
if dsz def is not the same it is probably similar.
gsz or dsz must be in path
define rz run gsz F ha on port 2 G rz -r
---------------------------------------------------------------------------
for use in unix scripts and aliases
easier not to type control chars
also better not to have control chars
in scripts: apc comand sequence
will be implemented with some viewers.
use gcc
apc_echo.c
#include<stdio.h>
void main(int argc,char *argv[]){
printf("^[_ %s\n^[\\",argv[1]);}
/* p.s. use real control not ^ and [ */
----------------------------------------------------------------------------
script for auto downloading file
#!/bin/sh
apc_echo "rz,output \13"
sz $*
-----------------------------------------------------------------------------
# csh alias for downloading file
# must not be named sz - recursion occurs
alias szz 'apc_echo "output sz \!*\13,rz,output \13"'
better way is:
alias szz 'apc_echo "rz,output \13";sz \!*'
--------------------------------------------------------------------------
something else
script for downloading and viewing mime type images directly from lynx,
tin. Name of script must be specified in .mailcap metamail file
i.e. image/*;scriptname %s
#!/bin/sh
picture=`echo $1 | cut -c6-`
prefix=`echo $picture | cut -c1-3`
#prefix and suffix transposed for tin mime encoded files
if test $prefix = "mm."
then
newname=`echo $1 | cut -c10-`.mm
mv $1 /tmp/$newname
apc_echo "rz,run view.bat $newname,clear apc"
sz /tmp/$newname
else
apc_echo "rz,run view.bat $picture,clear apc"
sz $1
fi
-----------
view.bat
@echo off
rem stuffit is free resident keyboard buffer stuffer at oakland
stuffit 'ex'13 'view2 %1'13 > nul
exit
-----------
view2.bat
@echo off
rem unload resident stuffer
stuffit /R > nul
rem runme is bat file for " free "DISPLAY" viewer
call runme %1
rem run kermit and connect again
msk315 stay,output ^W, c
p.s. It is not necessary to do it like this (exit kermit and restart kermit)
did it to save memory.
_________________________________________________________________________